package com.tanhua.bg.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

//视频记录： id,发布时间,视频连接,useId,评论数,点赞数,举报数,转发数

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "video_record")
public class VideoRecord implements Serializable {
    private static final long serialVersionUID = -291788258125767614L;

    private Integer id;      //编号
    private Integer createDate;      //发布时间
    private String videoUrl;     //视频链接
    private Integer userId;     //发布人id
    private Integer commentCount;       //评论数
    private Integer likeCount;      //点赞数
    private Integer reportCount;        //举报数
    private Integer forwardingCount;        //转发数


}
